package cn.shop.front.entity.req;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Data
@ToString
public class BindReq {

    @NotNull(message = "分区编号不能为空")
    private Long partitionId;
    @NotNull(message = "游戏账号不能为空")
    private String account;
    @NotNull(message = "游戏角色不能为空")
    private String nickname;
    @NotNull(message = "验证码不能为空")
    private String code;
    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "密码不能为空")
    private String password;

}
